<template>
    <view class="main">
		<icon class="icon" type="success" color="#59bc14" size="56"/>
		<view class="tip">
			调查完成，请进行后续操作。（自动跳转：{{num}}）
		</view>
    	
    </view>
</template>

<script>
	export default{
		data(){
			return{
				num:3
			}
		},
		mounted() {
			this.back()
		},
		methods:{
			back(){
			let timer =	setInterval(()=>{
					this.num--
					if(this.num==0){
						window.clearInterval(timer)
						javascript:h5CallNativeObj.close();
					}
				},1000)
				
			},
		}
	}
</script>

<style lang="scss">
	.uni-body .pages-authorizedList-success{
		background: #FFFFFF;
	}
	.main{
		width: 100%;
		height: 100%;
		font-size: 5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		.icon{
			margin-top: 50rem;
		}
		.tip{
			width: 100%;
			line-height: 20rem;
			text-align: center !important;
		}
	}
</style>
